//
//  NITabBar.h
//  gweAD
//
//  Created by navinfo air on 2016/11/24.
//  Copyright © 2016年 mengy. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol NITabBarDelegate <NSObject>

- (void)onTabSelect:(NSInteger)index;

@end

@interface NITabBar : UIView

@property(nonatomic,assign)id<NITabBarDelegate> delegate;
+ (instancetype)NiTabbar;
- (void)setHiddenTabItemAtIndex:(NSInteger)index hidden:(BOOL)hidden;
- (void)setSelectIndex:(NSInteger)index;
@end
